package com.njtoyo.taxi.admin.rest.wrapper.marketing.seckill;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("创建秒杀活动奖项")
public class CreateAwardWrapper {

    @NotBlank(message = "奖项名称不能为空")
    @ApiModelProperty("奖项名称")
    private String name;

    @ApiModelProperty("活动背景图")
    private String imageUrl;

    @NotNull(message = "活动ID不能为空")
    @ApiModelProperty("活动ID")
    private Long activityId;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty(value = "是否覆盖全国")
    private Boolean isCoverAllRegions = true;

    @NotNull(message = "每轮奖项总数量不能为空")
    @ApiModelProperty(value = "每轮奖项总数量")
    private Long roundQuantity;

    @ApiModelProperty(value = "区域编号")
    private Long regionId;

}